package com.xiaodu.acer;

import android.app.Application;

import com.chefu.common.app.Latte;

/**
 * @author 小杜 QQ:1392229149
 * @name XiaoduDemo
 * @class name：com.xiaodu.acer
 * @class describe
 * @time 2017/12/11 22:58
 * @change
 * @chang time
 * @class describe
 */
public class App  extends Application{

    public static final String BASE_URL = "http://wl.motorsc.com/logis_api/";
    @Override
    public void onCreate() {
        super.onCreate();
        Latte.init(this)
                .withApiHost(BASE_URL)
                .withInterceptor(new HeaderInterceptor())
                .configure();
    }
}
